@import "../common/reset.scss";


.header{
    margin: 5px 80px;
    height:42px;
    line-height: 40px;
    font-size: 12px;
    .header-l{
        display: flex;
        float:left;
        .logo{
            display: block;
            float: left;
            height: 42px;
            width: 181px;
            background: url(http://img.anta.cn/sources/NewEdition/2015newimages/logo.gif) no-repeat;
            background-size: 100%;
        }
        p{
            padding: 0 10px;
            a{
                padding: 0 10px;
            }
        }
    }
    .header-r{
        float:right;
        ul{
            display: flex;
            :nth-child(4){
                color:#dd0000;
            }
            li{
                margin:0 10px;
                a{
                    .icon{
                        display: inline-block;
                        width: 12px;
                        height: 15px;
                        margin-right: 5px;
                        margin-bottom: -2px;
                    }
                    .icon-shop{
                        background: url(http://img.anta.cn/sources/NewEdition/2015newimages/mui-global-iconfont.gif) no-repeat;
                    }
                    .icon-cart{
                        background: url(http://img.anta.cn/images/2015/index-icon.png) -45px -96px no-repeat;
                    }
                }
            }
        }
    }
}
.category{
    background: #000;
    height: 36px;
    line-height: 36px;
    padding: 0 80px;
    position: sticky;
    z-index:20;
    top:0px;
    .category-all a{
        float:left;
        display: block;
        width: 210px;
        background: #D6211A url(http://img.anta.cn/sources/NewEdition/2015newimages/public.3.4.gif) 0 -82px no-repeat;;
        color:#fff;
        text-indent: 24px;
    }
    .category-list{
        float:left;
        display: flex;
        color: #fff;
        a{
            font-size: 14px;
            display: block;
            width: 62px;
            padding: 0 7px;
            text-align: center;
            background: #231f20 url(http://img.anta.cn/sources/NewEdition/img/navBg.gif) no-repeat right 15px;
        }
        li:last-child a{
            height: 36px;
            width: 120px;
            background:#231f20 url(http://image03.anta.cn/sources/xiaochengxu/shuangdan/uni_logo.png) no-repeat 14px;
        }
    }
    .category-search{
        float: right;
        line-height:32px;
        position: relative;
        input{
            outline: none;
            border-radius: 5px;
            border:0;
            width:180px;
            height: 26px;
            padding: 0 10px;
        }
        .icon-search{
            position: absolute;
            display: block;
            height: 23px;
            width: 30px;
            background:url(http://img.anta.cn/images/2015/index-icon.png) -42px -164px no-repeat;
            border: none;
            cursor: pointer;
            right: 5px;
            top: 7px;
        }
    }
}

.sliderBar{
    position: fixed;
    top:52px;
    right: -280px;
    width: 315px;
    height: 100%;
    &.toggleClass{
        right: -280px;
    }
    z-index:20;
    background: #000;
    font: normal 12px "微软雅黑",Arial,sans-serif;
    .sliderBar-list{
        position: absolute;
        width: 35px;
        float: left;
        top:30%;
        >div{
            height: 35px;
            width: 35px;
            position: relative;
            left: 0;
            background: #000;
            margin: 4px 0;
            cursor: pointer;
            &:hover{
                background: #d00;
            }
        }
        .sliderBar-logo{
            height: 35px;
            width: 35px;
            position: absolute;
            top: 0;
            left: 0;
            background: url(http://img.anta.cn/images/2015/index-icon.png) no-repeat;
        }
        .user-login{
            .sliderBar-logo{
                background-position: 3px -224px;
            }
        }
        .user-cart{
            height: 90px;
            border-top: 1px solid #444;
            border-bottom: 1px solid #444;
            .sliderBar-logo{
                background-position: 4px -264px;
                top: 10px;
            }
            .user-cart-text{
                color: #FFF;
                position: absolute;
                top: 35px;
                left: 11px;
                width: 14px;
            }
        }
        .user-like{
            .sliderBar-logo{
                background-position: 3px -121px;
            }
        }
        .user-saw{
            .sliderBar-logo{
                background-position: 3px -291px;
            }
        }
        .user-tel{
            .sliderBar-logo{
                background-position: 3px -20px;
            }
        }
        .user-service{
            .sliderBar-logo{
                background-position: 3px -325px;
                background-color: #d00;
            }
        }
        .user-qrcode{
            .sliderBar-logo{
                background-position: 4px -155px;
            }
        }
        .gotoTop{
            margin-top:40px;
            .sliderBar-logo{
                background-position: -37px -196px;
            }
        }
    }
    .sliderBar-box{
        float: right;
        width: 280px;
        height:100%;
        background: #e6e6e6;
        position: relative;
        .cart-title{
            height: 35px;
            padding: 0 3px;
            line-height: 35px;
            font-size: 14px;
            color: grey;
            input{
                margin: 12px 8px 0 2px;
                float: left;
            }
            span{
                margin-left: 10px;
                float: left;
            }
            a{
                float: right;
            }
        }
        .cart-list{
            width:100%;
            table-layout:fixed;
            .cart-item{
                width:280px;
                height:80px;
                background: #fff;
                display: table-row;
                border-top:1px solid #808080;
                >td{
                    height:80px;
                    display: table-cell;
                    vertical-align:middle;
                    // input{
                    //     display: block;
                    // }
                    >a{
                        display: block;
                        >img{
                            display: block;
                            overflow: hidden;
                            height: 50px;
                            width: 50px;
                        }
                    }
                    .good-title{
                        display: block;
                        margin: 0 auto;
                        width: 54px;
                        padding-top: 10px;
                        line-height: 18px;
                    }
                    .goods-numb{
                        text-align: center;
                        display: flex;
                        justify-content: space-around;
                        align-items: center;
                        a{
                            font-size: 14px;
                            color: #666;
                            border: 1px #666 solid;
                            border-radius: 50%;
                            height: 13px;
                            width: 13px;
                            line-height: 11px;
                        }
                    }
                    .delete-goods{
                        display: block;
                        height: 13px;
                        width: 13px;
                        color: #666;
                        border: 1px #666 solid;
                        border-radius: 50%;
                        line-height: 11px;
                        float: right;
                        text-align: center;
                        margin-top: -20px;
                        font-size: 14px;
                        margin-right: 7px;
                    }
                    .goods-price{
                        padding-left: 15px;
                    }
                }
            }
        }
        .account-box{
            position: absolute;
            bottom: 52px;
            left: 0;
            width: 250px;
            height:80px;
            padding: 0 15px;
            background: #fff;
            .total{
                height: 26px;
                line-height: 26px;
                display: flex;
                justify-content: space-between;
                .total-count{
                    span{
                        margin:0 4px;
                    }
                }
                .total-price{
                    color:#d00;
                }
            }
            .goCartPage{
                display: block;
                height: 40px;
                line-height: 40px;
                background: #d00;
                text-align: center;
                color: #fff;
                font-size: 16px;
                margin-bottom: 15px;
            }
        }
    }
}

.swiper{
    width:100%;
    height:550px;
    position: relative;
    overflow: hidden;
    .prev,.next{
        position: absolute;
        top: 50%;
        width: 27px;
        height: 44px;
        margin-top:-22px;
        z-index: 10;
        cursor: pointer;
    }
    .prev{
        left:45px;
        background: url(http://image03.anta.cn/sources/NewEdition/images/banner_l.png) no-repeat;
    }
    .next{
        right:45px;
        background:url(http://image03.anta.cn/sources/NewEdition/images/banner_r.png) no-repeat;
    }
    .swiper-container{
        height:500px;
        position: relative;
        margin-left: -960px;
        left:50%;
        img{
            float: left;
        }
    }
    .swiper-index{
        width: 100%;
        height:30px;
        margin:10px 0;
        font-size: 12px;
        display: flex;
        justify-content: center;
        li{
            line-height: 30px;
            border-right: 1px #969171 solid;
            background: #000;
            opacity: .7;
            width: 120px;
            color: #fff;
            text-align: center;
            cursor: pointer;
            padding: 0 10px;
        }
    }
}
.activity{
    width:100%;
    height:940px;
    padding:30px 80px;
    box-sizing: border-box;
    background: #f3f3f3;
    .activity-1,.activity-2{
        width:580px;
        height:520px;
        .activity-text{
            color: #333;
            padding:16px 0 0 0;
            box-sizing: border-box;
            p{
                line-height: 34px;
                font-size: 18px;
                font-weight: bold;
                text-align: center;
            }
            ul{
                display: flex;
                justify-content: center;
                line-height: 30px;
                font-size: 14px;
                li{
                    padding:0 6px;
                    text-align: center;
                    a:hover{
                        color: #dd0000;    
                    }
                }
            }
        }
        >a{
            display: block;
            img{
                display: block;
            }
        }
    }
    .activity-1{
        float: left;
    }
    .activity-2{
        float: right;
    }
    .activity-3{
        >a{
            display: block;
            img{
                display: block;
            }
        }
        float: left;
        margin-right:16.5px;
        .activity-text{
            margin-top: 24px;
            text-align: center;
            height:18px;
            font-weight: bold;
            color: #333;
        }
    }
    :last-child{
        margin-right:0px;
    }
}
.contain{
    height:5720px;
    width: 1190px;
    margin: 0 auto;
    position: relative;
    .title{
        text-align: center;
        height: 100px;
        padding: 40px 0 30px;
        background: #fff;
        color: #333;
        h4{
            font-size: 26px;
            line-height: 35px;
            margin-bottom: 10px;
        }
        h2{
            font-size: 32px;
            font-weight: bolder;
            line-height: 50px;
        }
    }
    .sliderBox{
        width:1190px;
        height:558px;
        margin-bottom: 40px;
        >.l{
            float: left;
        }
        >.r{
            float: right;
        }
        .slider{
            width:580px;
            height:558px;
            overflow: hidden;
            position: relative;
            .slider-prev,.slider-next{
                position: absolute;
                top: 203px;
                width: 35px;
                height: 46px;
                margin-top: -23px;
                z-index: 10;
                cursor: pointer;
            }
            .slider-prev{
                left: 15px;
                background: url(http://image03.anta.cn/sources/NewEdition/2015newimages/left_1122.png) no-repeat;
            }
            .slider-next{
                right: 15px;
                background: url(http://image03.anta.cn/sources/NewEdition/2015newimages/right_1122.png) no-repeat;
            }
            .slider-dots{
                width:100%;
                display: flex;
                justify-content: center;
                position: absolute;
                bottom: 160px;
                left: 0;
                .slider-dot{
                    background: #222;
                    margin:0 5px;
                    height: 10px;
                    width: 10px;
                    border: 1px #ccc solid;
                    border-radius: 50%;
                    opacity: .7;
                    cursor: pointer;
                }
            }
            .slider-container{
                width:580px;
                height:406px;
                position: relative;
                background: #fff;
                a{
                    float:left;
                }
            }
            .slider-title{
                font-size: 26px;
                margin: 20px 0 4px 0; 
                text-align: center;
                line-height: 30px;
            }
            .slider-infos{
                text-align: center;
                font-size: 14px;
                line-height: 30px;
                margin: 4px 0;
            }
            .purchase{
                display: flex;
                justify-content: center;
                align-items: center;
                line-height: 30px;
                margin: 4px 0;
                padding: 14px;
                a{
                    display: block;
                    width:104px;
                    height:30px;
                    text-align: center;
                    font-size:14px;
                    border: 1px solid #000;
                    font-weight: 700;
                }
            }
        }
    }
    .goodsList{
        .goodsItem{
            float: left;
            width:288px;
            height:365px;
            margin-right:12.5px;
            .goodsImg{
                width:288px;
                height:288px;
                a{
                    display: block;
                    img{
                        display: block;
                        width:288px;
                        height:288px;
                    }
                }
            }
            .goodTitle{
                margin-top:20px;
                text-align: center;
                line-height: 12px;
                min-height:12px;
                font-size:12px;
            }
            .goodsPrice{
                text-align: center;
                margin-top:12px;
                font-size:16px;
                color:#666;
            }
        }
    }
    .moreGoods{
        height:66px;
        margin:90px auto 60px;
        width: 100%;
        position: absolute;
        bottom: 0;
        p{
            border: 1px solid #dbdbdb;
            cursor: pointer;
            margin: 0 auto;
            height: 40px;
            line-height: 40px;
            width: 300px;
            margin-top: 12px;
            text-align: center;
            a{
                font-size: 18px;
                color: #dbdbdb;
            }
        }
    }
}
.footer{
    border-top:2px solid #ccc;
    height:371px;
    width:100%;
    >ul{
        >li:first-child{
            margin-left: 89px;
        }
        >li:last-child{
            width: 150px;
        }
        >li{
            width: 214px;
            height:311px;
            float: left;
            >ul{
                .title{
                    margin-top: 38px;
                    line-height: 33px;
                    font-weight: bold;
                    font-size: 16px;
                }
                >li{
                    line-height: 30px;
                    font-size: 12px;
                }
            }
        }  
    }
    .connect{
        width:467px;
        height:242px;
        float: right;
        margin-top:30px;
        padding:8px 0 3px 100px;
        box-sizing: border-box;
        border-left: 2px solid #dbdbdb;
        h4{
            font-weight: bolder;
            font-size: 16px;
            line-height: 32px;
            color: #000;
        }
        p{
            margin: 5px 0 15px;
            display: block;
            height: 40px;
            width: 250px;
            background: url(http://img.anta.cn/sources/NewEdition/2015newimages/service-icon.png) -10px -15px no-repeat;
        }
        a{
            margin-bottom: 10px;
            display: block;
            height: 25px;
            width: 135px;
            border: 1px #bdbdbd solid;
            border-radius: 5px;
            i{
                display: inline-block;
                height: 25px;
                width: 37px;
                background: url(http://img.anta.cn/sources/NewEdition/2015newimages/service-icon.png) -7px -181px no-repeat;
            }
            span{
                display: inline-block;
                height: 25px;
                line-height: 25px;
                margin-left: 15px;
                color: #000;
                font-size: 14px;
                vertical-align: top;
            }
        }
        li{
            list-style: none;
            height: 90px;
            width: 90px;
            background: url(http://img.anta.cn/sources/NewEdition/2015newimages/qr-code.jpg) no-repeat;
        }
    }
    .bottom{
        height:60px;
        width:100%;
        background: #000;
        clear: both;
        padding:0 80px;
        box-sizing: border-box;
        .list1{
            float: left;
            span{
                display: block;
                float: left;
                color: #fff;
                line-height: 60px;
                font-size:12px;
            }
            .copyright{
                margin-right: 15px;
            }
            .company-name{
                margin-right: 20px;
            }
            .police-img{
                height: 33px;
                width: 34px;
                margin-top: 10px;
                margin-right: 20px;
                float:left;
            }
        }
        .list2{
            float: right;
            color:#fff;
            display: flex;
            line-height:60px;
            font-size: 12px;
            a{
                padding:0 5px;
            }
        }
    }
}